{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "035fab72",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.678280,23.628439'"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 1.位置\n",
    "\n",
    "import requests\n",
    "geo_url = \"https://restapi.amap.com/v3/geocode/geo?parameters\"\n",
    "payload = {\n",
    "    \"key\":\"4a48fbc57c6fa9b852ff8e9c92a7156b\",\n",
    "    \"address\":\"广东省广州市从化区广州南方学院\"\n",
    "}\n",
    "r = requests.get(url=geo_url, params=payload)\n",
    "广州南方学院_location = r.json()['geocodes'][0]['location']\n",
    "广州南方学院_location"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "f0b0804c",
   "metadata": {},
   "source": [
    "# 2.搜索POI\n",
    "> 关键词\n",
    "> "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "b1fb37a8",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '887',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': '良口镇米埗洛三队',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '53.00',\n",
       "    'opentime2': '每天10:00-24:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '10:00-24:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '洛溪渔村',\n",
       "   'location': '113.666633,23.674259',\n",
       "   'tel': '13360001433;13570946944',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL2MJ9G'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉大道399号(温泉镇政府旁)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '49.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.2',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c2016bda082dac1f52d1aed537e48991'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/09bafef69715e1cd74da9ed3cd22f06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5fd6143ce604113dbad4e88fa9c2401c'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '桃李园农家菜老字号(温泉店)',\n",
       "   'location': '113.633241,23.616985',\n",
       "   'tel': '020-87832123',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141JCU0'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉天湖路九号之一',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '10:00-21:00',\n",
       "    'rating': '3.8',\n",
       "    'open_time': '10:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5565b4806f96bb32e2731aa10005e005'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/688934c7570b5d57b4578b63d0c4cf4d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6a5590e5cb088c884ae16cfe99d6a258'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '柏如酒店',\n",
       "   'location': '113.644626,23.638736',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140H67T'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉西路君通荔圃温泉酒店东北侧约140米',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '2.3',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '美食新天地(温泉西路店)',\n",
       "   'location': '113.650949,23.645932',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0GU4OW49J'},\n",
       "  {'parent': [],\n",
       "   'address': [],\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '3.1',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '私房菜黑糯米醋浸鸡',\n",
       "   'location': '113.664139,23.665170',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0H1V5RDV8'},\n",
       "  {'parent': [],\n",
       "   'address': '良口镇米埗村洛二社28号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '10:30-02:00',\n",
       "    'rating': '4.2',\n",
       "    'open_time': '10:30-02:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;餐饮相关场所;餐饮相关',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b2b0ab6bd7ead682b3545ef4be76c1bd'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/04e01f7ef355619455a61f7d49904f13'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/596d7d776134ca587de994354452adbb'}],\n",
       "   'typecode': '050000',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '米家小馆',\n",
       "   'location': '113.671345,23.674622',\n",
       "   'tel': '17889548818',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLB8VYG'},\n",
       "  {'parent': [],\n",
       "   'address': '良口镇卓思道旁',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '63.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.6',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/febbbeb37adba56adffb856b65b33e0e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ba2b58de503a8d5dd2c4523377343942'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '热水农家菜',\n",
       "   'location': '113.708446,23.688916',\n",
       "   'tel': '13711659296',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKTCKJQ'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇南星村皇岭社77号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '3.9',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3c0064a937ff4d61ff7fec2212bba5d1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/4794d527-3531-4581-830d-8c6be39e1225.jpg'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/e8c4366a-67da-494f-9b9c-5f976ee5289e.jpg'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '凤凰轩私房菜馆(七十七号私厨)',\n",
       "   'location': '113.697101,23.581233',\n",
       "   'tel': '13533085304',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G1KD2L1O'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉乌石村38号近溪农庄',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '11:00-14:30；17:00-20:45',\n",
       "    'rating': '3.7',\n",
       "    'open_time': '11:00-14:30 17:00-20:45',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7c6dd8c502870829e84101f7c3852e5a'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '近溪农庄',\n",
       "   'location': '113.626733,23.621891',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLOOD7S'},\n",
       "  {'parent': [],\n",
       "   'address': '石坑村广场139号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '10:00-21:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '10:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/61613e27db9667ebc695606ee8d01d4a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9fdd9160f7b925a298109999e1ed5134'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5af4a575f15bb0a7a5e487bc1606bc8c'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '广场饭店',\n",
       "   'location': '113.714796,23.579464',\n",
       "   'tel': '13924112229',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLARAHQ'},\n",
       "  {'parent': 'B00141JKBR',\n",
       "   'address': '良口镇御泉大道353号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '85.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.1',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2cef95b1a3c88a4387194216738436df'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/43a38f0462272616cd6e14298a5c2a09'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '302',\n",
       "   'adname': '从化区',\n",
       "   'name': '荔香园(员工之家东北)',\n",
       "   'location': '113.716369,23.699699',\n",
       "   'tel': '020-87842888',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UI8N'},\n",
       "  {'parent': [],\n",
       "   'address': '碧泉路与碧泉一横街交叉口西北约120米',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '2.3',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;茶餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050305',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '子谷新茶餐厅',\n",
       "   'location': '113.655602,23.645986',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLJOEIY'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇龙岗墟龙泉路39号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '29.00',\n",
       "    'opentime2': [],\n",
       "    'rating': [],\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '长盛饭店',\n",
       "   'location': '113.667329,23.601600',\n",
       "   'tel': '020-87859183',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141JC9E'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇广州南方学院后门润泰超市1层05号商铺',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': [],\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '湘味小厨',\n",
       "   'location': '113.679283,23.632572',\n",
       "   'tel': '13005184390',\n",
       "   'shopid': [],\n",
       "   'id': 'B0GKHC2KQN'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇石坑街政通路62',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '05:00-10:00；18:00-24:00',\n",
       "    'rating': '4.0',\n",
       "    'open_time': '05:00-10:00 18:00-24:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f1f2626d0207dee72d87baf4153b004b'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a5be2321c8921bab74057da33cfca225'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/438d256cd58bf18b08e5c0719c98f95f'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '华女小食店',\n",
       "   'location': '113.713068,23.580303',\n",
       "   'tel': '13711593156;13640642870',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLB0ZLF'},\n",
       "  {'parent': [],\n",
       "   'address': '环市东路666号(凯景酒店紧邻)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '150.00',\n",
       "    'opentime2': '11:00-22:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '11:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;海鲜酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/29a890d9498b5f23c9119d96f1d31e34'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/084390ba482f2303f48f9b5f9ce93675'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/241ac0b5a09005068722c5cc448bbee8'}],\n",
       "   'typecode': '050119',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '椰林海鲜码头(从化店)',\n",
       "   'location': '113.615535,23.556321',\n",
       "   'tel': '020-87999977',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFG6ZL2Q'},\n",
       "  {'parent': [],\n",
       "   'address': '派潭镇白水寨大道29号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '56.00',\n",
       "    'opentime2': '09:00-20:30',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '09:00-20:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e3120e53e7b17e3685a5cd2051219bfe'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3033a00e2d057ff958f400b86fcbe4fe'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '佰水寨农家菜(白水寨店)',\n",
       "   'location': '113.753166,23.573195',\n",
       "   'tel': '020-82829288;13926123182',\n",
       "   'shopid': [],\n",
       "   'id': 'B0HATMY7SB'},\n",
       "  {'parent': [],\n",
       "   'address': '934县道西50米',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '50.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.2',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '海景农庄',\n",
       "   'location': '113.759552,23.620845',\n",
       "   'tel': '15918508323',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141JCOM'},\n",
       "  {'parent': [],\n",
       "   'address': '南平村山货街4号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '6.00',\n",
       "    'opentime2': '08:00-19:00',\n",
       "    'rating': '4.2',\n",
       "    'open_time': '08:00-19:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/16144f994d56b16b516b6b7991ce93d9'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4fcb157295466e632109f3c2986ae53e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5b9de4b9f98ac9f25166d142175adc36'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '荔下豆花',\n",
       "   'location': '113.719697,23.549535',\n",
       "   'tel': '13527842233',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL2LXNB'},\n",
       "  {'parent': [],\n",
       "   'address': '白水寨大道10号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '52.00',\n",
       "    'opentime2': '11:00-14:00；16:30-20:30',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '11:00-14:00 16:30-20:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9424b04768b30685374f3f1535ab161a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7b692efe81ecaae8622d07cfa8c62a41'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8209c6eb8c99cf20e248638200d6a94e'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '竹语饭香',\n",
       "   'location': '113.753235,23.573602',\n",
       "   'tel': '13760896638',\n",
       "   'shopid': [],\n",
       "   'id': 'B0HACCW9WV'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "POI_url = 'https://restapi.amap.com/v3/place/text?parameters'\n",
    "\n",
    "payload = {\n",
    "    'key':'4a48fbc57c6fa9b852ff8e9c92a7156b',\n",
    "    \"location\":广州南方学院_location,\n",
    "    'keywords':'中餐厅',\n",
    "    \"page\":2\n",
    "#     'extensions':'all,\n",
    "    \n",
    "}\n",
    "\n",
    "r = requests.get(url=POI_url, params=payload )\n",
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "3f0d96c7",
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>parent</th>\n",
       "      <th>address</th>\n",
       "      <th>distance</th>\n",
       "      <th>pname</th>\n",
       "      <th>importance</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>cityname</th>\n",
       "      <th>type</th>\n",
       "      <th>photos</th>\n",
       "      <th>typecode</th>\n",
       "      <th>...</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>tel</th>\n",
       "      <th>shopid</th>\n",
       "      <th>id</th>\n",
       "      <th>biz_ext.cost</th>\n",
       "      <th>biz_ext.opentime2</th>\n",
       "      <th>biz_ext.rating</th>\n",
       "      <th>biz_ext.open_time</th>\n",
       "      <th>biz_ext.meal_ordering</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>[]</td>\n",
       "      <td>广州南方学院</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;四川菜(川菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050102</td>\n",
       "      <td>...</td>\n",
       "      <td>重庆湖边纸包鱼</td>\n",
       "      <td>113.680073,23.630511</td>\n",
       "      <td>13924024938</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFL7NUA2</td>\n",
       "      <td>[]</td>\n",
       "      <td>09:00-23:00</td>\n",
       "      <td>4.5</td>\n",
       "      <td>09:00-23:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇乌土村上围2队13号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[]</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>壹休盖饭</td>\n",
       "      <td>113.679611,23.630517</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0HRHG0RSP</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇广州南方学院后门润泰超市1层05号商铺</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[]</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>东记乡村美食</td>\n",
       "      <td>113.679283,23.632572</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3APADKJ</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇牌坊东路45号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>天天酒家特色农家菜</td>\n",
       "      <td>113.657777,23.640442</td>\n",
       "      <td>020-87838296;13533067893</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140LJS7</td>\n",
       "      <td>56.00</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.4</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇温泉东路99号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>幸福楼酒店(温泉东路)</td>\n",
       "      <td>113.654186,23.644836</td>\n",
       "      <td>020-87838813;020-87838758</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140FG8A</td>\n",
       "      <td>53.00</td>\n",
       "      <td>10:00-21:00</td>\n",
       "      <td>4.6</td>\n",
       "      <td>10:00-21:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇,碧泉一横街23号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050103</td>\n",
       "      <td>...</td>\n",
       "      <td>潮汕砂锅粥</td>\n",
       "      <td>113.655492,23.645358</td>\n",
       "      <td>18588812880</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFJ5J0XA</td>\n",
       "      <td>37.00</td>\n",
       "      <td>10:00-01:45</td>\n",
       "      <td>4.1</td>\n",
       "      <td>10:00-01:45</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇温泉大道988号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>同心农庄(温泉大道店)</td>\n",
       "      <td>113.678614,23.662933</td>\n",
       "      <td>13434353603</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFL1FKLX</td>\n",
       "      <td>74.00</td>\n",
       "      <td>周一至周日:10:00-21:00</td>\n",
       "      <td>4.7</td>\n",
       "      <td>10:00-21:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇温泉东路80号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>陶然餐厅</td>\n",
       "      <td>113.652237,23.649106</td>\n",
       "      <td>020-87830888;020-87838844</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140AB59</td>\n",
       "      <td>70.00</td>\n",
       "      <td>08:00-23:00</td>\n",
       "      <td>4.2</td>\n",
       "      <td>08:00-23:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇碧泉路8号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>碧溪农家菜</td>\n",
       "      <td>113.654796,23.644038</td>\n",
       "      <td>020-87838381;13527756813</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140H71J</td>\n",
       "      <td>74.00</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.2</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>[]</td>\n",
       "      <td>东埔附近</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[]</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>温泉东埔农庄</td>\n",
       "      <td>113.662092,23.659556</td>\n",
       "      <td>13602211368;13902323168</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFF5KYEU</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.4</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇龙岗村延庆里10号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050103</td>\n",
       "      <td>...</td>\n",
       "      <td>四季农庄</td>\n",
       "      <td>113.664197,23.597786</td>\n",
       "      <td>13434279298</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0IAMAHNK3</td>\n",
       "      <td>[]</td>\n",
       "      <td>10:00-20:00</td>\n",
       "      <td>3.6</td>\n",
       "      <td>10:00-20:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇温泉东路62号碧泉一横街二巷</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050103</td>\n",
       "      <td>...</td>\n",
       "      <td>乡约私房菜馆</td>\n",
       "      <td>113.654213,23.644589</td>\n",
       "      <td>15918498423</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFLBF6O0</td>\n",
       "      <td>[]</td>\n",
       "      <td>09:30-21:30</td>\n",
       "      <td>4.1</td>\n",
       "      <td>09:30-21:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>[]</td>\n",
       "      <td>934县道温泉镇中田小学面对左边</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>口味香农家菜</td>\n",
       "      <td>113.712702,23.620095</td>\n",
       "      <td>13711253571;18933901108</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFGDZKAP</td>\n",
       "      <td>47.00</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.3</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇温泉东路97号毅华温泉酒店2层</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>毅华轩酒家(温泉镇店)</td>\n",
       "      <td>113.653770,23.644272</td>\n",
       "      <td>020-62163888</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFF4BZI3</td>\n",
       "      <td>68.00</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.9</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇御泉大道691号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>聚福缘农庄</td>\n",
       "      <td>113.679939,23.659544</td>\n",
       "      <td>13902382128</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0HA4HSJUX</td>\n",
       "      <td>[]</td>\n",
       "      <td>每天10:00-21:00</td>\n",
       "      <td>4.3</td>\n",
       "      <td>10:00-21:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B00141ICQP</td>\n",
       "      <td>温泉镇温泉西路21号财富度假酒店</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[]</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>财富度假酒店中餐厅(温泉西路店)</td>\n",
       "      <td>113.643299,23.638148</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKQOQJS</td>\n",
       "      <td>42.00</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.1</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>[]</td>\n",
       "      <td>广卅市温镇天湖路9号之二首层,二层</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050103</td>\n",
       "      <td>...</td>\n",
       "      <td>农家私厨</td>\n",
       "      <td>113.644567,23.638855</td>\n",
       "      <td>13926487938</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFMBHDOL</td>\n",
       "      <td>[]</td>\n",
       "      <td>10:30-01:00</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10:30-01:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇龙泉路5号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>广州市从化温泉泉韵餐厅</td>\n",
       "      <td>113.647625,23.619287</td>\n",
       "      <td>18823036561</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFL0VX2A</td>\n",
       "      <td>[]</td>\n",
       "      <td>周一至周日:10:00-21:30</td>\n",
       "      <td>3.6</td>\n",
       "      <td>10:00-21:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉明月山溪广场及第大街18-20档</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050103</td>\n",
       "      <td>...</td>\n",
       "      <td>枢哥私厨农庄</td>\n",
       "      <td>113.636524,23.626752</td>\n",
       "      <td>020-37977660;13711095933</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3K5OP8U</td>\n",
       "      <td>[]</td>\n",
       "      <td>08:00-14:30；17:00-21:30</td>\n",
       "      <td>4.2</td>\n",
       "      <td>08:00-14:30 17:00-21:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>[]</td>\n",
       "      <td>温泉西路9号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>啤酒屋</td>\n",
       "      <td>113.642473,23.630834</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKFHZ1U</td>\n",
       "      <td>[]</td>\n",
       "      <td>19:00-23:30</td>\n",
       "      <td>3.8</td>\n",
       "      <td>19:00-23:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>20 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        parent                 address distance pname importance biz_type  \\\n",
       "0           []                  广州南方学院       []   广东省         []    diner   \n",
       "1           []           温泉镇乌土村上围2队13号       []   广东省         []    diner   \n",
       "2           []  温泉镇广州南方学院后门润泰超市1层05号商铺       []   广东省         []    diner   \n",
       "3           []              温泉镇牌坊东路45号       []   广东省         []    diner   \n",
       "4           []              温泉镇温泉东路99号       []   广东省         []    diner   \n",
       "5           []            温泉镇,碧泉一横街23号       []   广东省         []    diner   \n",
       "6           []             温泉镇温泉大道988号       []   广东省         []    diner   \n",
       "7           []              温泉镇温泉东路80号       []   广东省         []    diner   \n",
       "8           []                温泉镇碧泉路8号       []   广东省         []    diner   \n",
       "9           []                    东埔附近       []   广东省         []    diner   \n",
       "10          []            温泉镇龙岗村延庆里10号       []   广东省         []    diner   \n",
       "11          []       温泉镇温泉东路62号碧泉一横街二巷       []   广东省         []    diner   \n",
       "12          []        934县道温泉镇中田小学面对左边       []   广东省         []    diner   \n",
       "13          []      温泉镇温泉东路97号毅华温泉酒店2层       []   广东省         []    diner   \n",
       "14          []             温泉镇御泉大道691号       []   广东省         []    diner   \n",
       "15  B00141ICQP        温泉镇温泉西路21号财富度假酒店       []   广东省         []    diner   \n",
       "16          []       广卅市温镇天湖路9号之二首层,二层       []   广东省         []    diner   \n",
       "17          []                温泉镇龙泉路5号       []   广东省         []    diner   \n",
       "18          []      温泉明月山溪广场及第大街18-20档       []   广东省         []    diner   \n",
       "19          []                  温泉西路9号       []   广东省         []    diner   \n",
       "\n",
       "   cityname              type  \\\n",
       "0       广州市  餐饮服务;中餐厅;四川菜(川菜)   \n",
       "1       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "2       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "3       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "4       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "5       广州市  餐饮服务;中餐厅;广东菜(粤菜)   \n",
       "6       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "7       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "8       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "9       广州市      餐饮服务;中餐厅;中餐厅   \n",
       "10      广州市  餐饮服务;中餐厅;广东菜(粤菜)   \n",
       "11      广州市  餐饮服务;中餐厅;广东菜(粤菜)   \n",
       "12      广州市      餐饮服务;中餐厅;中餐厅   \n",
       "13      广州市      餐饮服务;中餐厅;中餐厅   \n",
       "14      广州市      餐饮服务;中餐厅;中餐厅   \n",
       "15      广州市      餐饮服务;中餐厅;中餐厅   \n",
       "16      广州市  餐饮服务;中餐厅;广东菜(粤菜)   \n",
       "17      广州市      餐饮服务;中餐厅;中餐厅   \n",
       "18      广州市  餐饮服务;中餐厅;广东菜(粤菜)   \n",
       "19      广州市      餐饮服务;中餐厅;中餐厅   \n",
       "\n",
       "                                               photos typecode  ...  \\\n",
       "0   [{'title': [], 'url': 'http://store.is.autonav...   050102  ...   \n",
       "1                                                  []   050100  ...   \n",
       "2                                                  []   050100  ...   \n",
       "3   [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "4   [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "5   [{'title': [], 'url': 'http://store.is.autonav...   050103  ...   \n",
       "6   [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "7   [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "8   [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "9                                                  []   050100  ...   \n",
       "10  [{'title': [], 'url': 'http://store.is.autonav...   050103  ...   \n",
       "11  [{'title': [], 'url': 'http://store.is.autonav...   050103  ...   \n",
       "12  [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "13  [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "14  [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "15                                                 []   050100  ...   \n",
       "16  [{'title': [], 'url': 'http://store.is.autonav...   050103  ...   \n",
       "17  [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "18  [{'title': [], 'url': 'http://store.is.autonav...   050103  ...   \n",
       "19  [{'title': [], 'url': 'http://store.is.autonav...   050100  ...   \n",
       "\n",
       "                name              location                        tel shopid  \\\n",
       "0            重庆湖边纸包鱼  113.680073,23.630511                13924024938     []   \n",
       "1               壹休盖饭  113.679611,23.630517                         []     []   \n",
       "2             东记乡村美食  113.679283,23.632572                         []     []   \n",
       "3          天天酒家特色农家菜  113.657777,23.640442   020-87838296;13533067893     []   \n",
       "4        幸福楼酒店(温泉东路)  113.654186,23.644836  020-87838813;020-87838758     []   \n",
       "5              潮汕砂锅粥  113.655492,23.645358                18588812880     []   \n",
       "6        同心农庄(温泉大道店)  113.678614,23.662933                13434353603     []   \n",
       "7               陶然餐厅  113.652237,23.649106  020-87830888;020-87838844     []   \n",
       "8              碧溪农家菜  113.654796,23.644038   020-87838381;13527756813     []   \n",
       "9             温泉东埔农庄  113.662092,23.659556    13602211368;13902323168     []   \n",
       "10              四季农庄  113.664197,23.597786                13434279298     []   \n",
       "11            乡约私房菜馆  113.654213,23.644589                15918498423     []   \n",
       "12            口味香农家菜  113.712702,23.620095    13711253571;18933901108     []   \n",
       "13       毅华轩酒家(温泉镇店)  113.653770,23.644272               020-62163888     []   \n",
       "14             聚福缘农庄  113.679939,23.659544                13902382128     []   \n",
       "15  财富度假酒店中餐厅(温泉西路店)  113.643299,23.638148                         []     []   \n",
       "16              农家私厨  113.644567,23.638855                13926487938     []   \n",
       "17       广州市从化温泉泉韵餐厅  113.647625,23.619287                18823036561     []   \n",
       "18            枢哥私厨农庄  113.636524,23.626752   020-37977660;13711095933     []   \n",
       "19               啤酒屋  113.642473,23.630834                         []     []   \n",
       "\n",
       "            id biz_ext.cost        biz_ext.opentime2 biz_ext.rating  \\\n",
       "0   B0FFL7NUA2           []              09:00-23:00            4.5   \n",
       "1   B0HRHG0RSP           []                       []             []   \n",
       "2   B0G3APADKJ           []                       []             []   \n",
       "3   B00140LJS7        56.00                       []            4.4   \n",
       "4   B00140FG8A        53.00              10:00-21:00            4.6   \n",
       "5   B0FFJ5J0XA        37.00              10:00-01:45            4.1   \n",
       "6   B0FFL1FKLX        74.00        周一至周日:10:00-21:00            4.7   \n",
       "7   B00140AB59        70.00              08:00-23:00            4.2   \n",
       "8   B00140H71J        74.00                       []            4.2   \n",
       "9   B0FFF5KYEU           []                       []            4.4   \n",
       "10  B0IAMAHNK3           []              10:00-20:00            3.6   \n",
       "11  B0FFLBF6O0           []              09:30-21:30            4.1   \n",
       "12  B0FFGDZKAP        47.00                       []            4.3   \n",
       "13  B0FFF4BZI3        68.00                       []            3.9   \n",
       "14  B0HA4HSJUX           []            每天10:00-21:00            4.3   \n",
       "15  B0FFKQOQJS        42.00                       []            4.1   \n",
       "16  B0FFMBHDOL           []              10:30-01:00            4.0   \n",
       "17  B0FFL0VX2A           []        周一至周日:10:00-21:30            3.6   \n",
       "18  B0G3K5OP8U           []  08:00-14:30；17:00-21:30            4.2   \n",
       "19  B0FFKFHZ1U           []              19:00-23:30            3.8   \n",
       "\n",
       "          biz_ext.open_time biz_ext.meal_ordering  \n",
       "0               09:00-23:00                     0  \n",
       "1                        []                     0  \n",
       "2                        []                     0  \n",
       "3                        []                     0  \n",
       "4               10:00-21:00                     0  \n",
       "5               10:00-01:45                     0  \n",
       "6               10:00-21:00                     0  \n",
       "7               08:00-23:00                     0  \n",
       "8                        []                     0  \n",
       "9                        []                     0  \n",
       "10              10:00-20:00                     0  \n",
       "11              09:30-21:30                     0  \n",
       "12                       []                     0  \n",
       "13                       []                     0  \n",
       "14              10:00-21:00                     0  \n",
       "15                       []                     0  \n",
       "16              10:30-01:00                     0  \n",
       "17              10:00-21:30                     0  \n",
       "18  08:00-14:30 17:00-21:30                     0  \n",
       "19              19:00-23:30                     0  \n",
       "\n",
       "[20 rows x 24 columns]"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "pd.json_normalize(r.json()['pois'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "e97bc2d9",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '881',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': '广州南方学院',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '09:00-23:00',\n",
       "    'rating': '4.5',\n",
       "    'open_time': '09:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;四川菜(川菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/20080ba9f6fcd2808d64ce149b517ca9'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9f40694ca108a175d36847d03ecf4ec0'},\n",
       "    {'title': [],\n",
       "     'url': 'https://img.alicdn.com/imgextra/i2/3695320962/O1CN01JFnmLv1IydhNhdLT4_!!3695320962-0-kbcontentapng.jpg'}],\n",
       "   'typecode': '050102',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '重庆湖边纸包鱼',\n",
       "   'location': '113.680073,23.630511',\n",
       "   'tel': '13924024938',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL7NUA2'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇温泉东路62号碧泉一横街二巷',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '09:30-21:30',\n",
       "    'rating': '4.1',\n",
       "    'open_time': '09:30-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/de46d11cc1c2d594328e981e47c30465'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b3b9e19f80b52a27b9ef6717e2726d17'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/de240fa82a66bbc41319854ca9d8b9d9'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '乡约私房菜馆',\n",
       "   'location': '113.654213,23.644589',\n",
       "   'tel': '15918498423',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLBF6O0'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇温泉东路80号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '70.00',\n",
       "    'opentime2': '08:00-23:00',\n",
       "    'rating': '4.2',\n",
       "    'open_time': '08:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53861669aef0902a48a70997e12df78f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1f702dcfbc12b70a78a5b3ab9319c130'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1fc5e19b419e66df73ecc8fe2e3b7d97'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '陶然餐厅',\n",
       "   'location': '113.652237,23.649106',\n",
       "   'tel': '020-87830888;020-87838844',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140AB59'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇,碧泉一横街23号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '37.00',\n",
       "    'opentime2': '10:00-01:45',\n",
       "    'rating': '4.1',\n",
       "    'open_time': '10:00-01:45',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/74d3adb93d9e3b8f5ffd05badd2d24eb'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f160673b4058f79a1014e62f8c32166e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/99f09d0032f41bcfb1da2f1cccc15d0c'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '潮汕砂锅粥',\n",
       "   'location': '113.655492,23.645358',\n",
       "   'tel': '18588812880',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFJ5J0XA'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇牌坊东路45号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '56.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.4',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/098f3972854783f4a0931f73645de6db'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/89a15022589f24ae17885d3374f31a84'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '天天酒家特色农家菜',\n",
       "   'location': '113.657777,23.640442',\n",
       "   'tel': '020-87838296;13533067893',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140LJS7'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇乌土村上围2队13号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': [],\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '壹休盖饭',\n",
       "   'location': '113.679611,23.630517',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0HRHG0RSP'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇广州南方学院后门润泰超市1层05号商铺',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': [],\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '东记乡村美食',\n",
       "   'location': '113.679283,23.632572',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0G3APADKJ'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇温泉东路99号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '53.00',\n",
       "    'opentime2': '10:00-21:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '10:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/18132bec7fd836ec909aae4ad8d92e5f'},\n",
       "    {'title': '产品图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9d00e60d9421930c973d23c0ce6fd0fb'},\n",
       "    {'title': '产品图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c12a7ff8105dd732137d63da821b6a5e'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '幸福楼酒店(温泉东路)',\n",
       "   'location': '113.654186,23.644836',\n",
       "   'tel': '020-87838813;020-87838758',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140FG8A'},\n",
       "  {'parent': [],\n",
       "   'address': '龙宣街与宣星四街交叉口东南约20米',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '4.0',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1e480633cc8067a17bc5f37bfe0646cb'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '运动谷农庄',\n",
       "   'location': '113.643690,23.599463',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00141RT7I'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇碧泉路8号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '74.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.2',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c6c4adb45d8da4215bb15b03f1b814a6'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '碧溪农家菜',\n",
       "   'location': '113.654796,23.644038',\n",
       "   'tel': '020-87838381;13527756813',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140H71J'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇御泉大道691号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '每天10:00-21:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '10:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/16ef1ab8a71897357cfa6c455b4db9d2'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e23c0dde3dbf8035a834af6f939ff014'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '聚福缘农庄',\n",
       "   'location': '113.679939,23.659544',\n",
       "   'tel': '13902382128',\n",
       "   'shopid': [],\n",
       "   'id': 'B0HA4HSJUX'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇温泉大道988号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '74.00',\n",
       "    'opentime2': '周一至周日:10:00-21:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '10:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/72c1eb3ecb88d06103288046d00baf85'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bbf1ac15c5b494c6ccc1e6cbd53cc323'},\n",
       "    {'title': [],\n",
       "     'url': 'https://img.alicdn.com/imgextra/i1/3695320962/O1CN011IydfrHXZtogugg_!!3695320962-0-kbcontentapng.jpg'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '同心农庄(温泉大道店)',\n",
       "   'location': '113.678614,23.662933',\n",
       "   'tel': '13434353603',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL1FKLX'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇温泉东路97号毅华温泉酒店2层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '68.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '3.9',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/34ac1a59b88c3b41ca8b59e650fce734'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2b95c34e6d0df8893c6bdc2bd77270fa'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/115879d576c7b6de8ffd6bc31b2ab8b1'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '毅华轩酒家(温泉镇店)',\n",
       "   'location': '113.653770,23.644272',\n",
       "   'tel': '020-62163888',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFF4BZI3'},\n",
       "  {'parent': [],\n",
       "   'address': '广卅市温镇天湖路9号之二首层,二层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '10:30-01:00',\n",
       "    'rating': '4.0',\n",
       "    'open_time': '10:30-01:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ff8d52ed9fc591f978710ffe7880c97'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '农家私厨',\n",
       "   'location': '113.644567,23.638855',\n",
       "   'tel': '13926487938',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFMBHDOL'},\n",
       "  {'parent': [],\n",
       "   'address': '东埔附近',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '4.4',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '温泉东埔农庄',\n",
       "   'location': '113.662092,23.659556',\n",
       "   'tel': '13602211368;13902323168',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFF5KYEU'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇龙岗村延庆里10号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '10:00-20:00',\n",
       "    'rating': '3.6',\n",
       "    'open_time': '10:00-20:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/488b38e7d12a144375129ee602523c88'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/80f404bf446ee2e83bb77c29157fa824'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b2b8ccd876a1fe963da5f10b13c7d50e'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '四季农庄',\n",
       "   'location': '113.664197,23.597786',\n",
       "   'tel': '13434279298',\n",
       "   'shopid': [],\n",
       "   'id': 'B0IAMAHNK3'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉镇龙泉路5号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '周一至周日:10:00-21:30',\n",
       "    'rating': '3.6',\n",
       "    'open_time': '10:00-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d3cc24eb231a15ae453aafe3497da063'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '广州市从化温泉泉韵餐厅',\n",
       "   'location': '113.647625,23.619287',\n",
       "   'tel': '18823036561',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL0VX2A'},\n",
       "  {'parent': [],\n",
       "   'address': '石坑村广场139号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '10:00-21:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '10:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/61613e27db9667ebc695606ee8d01d4a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9fdd9160f7b925a298109999e1ed5134'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5af4a575f15bb0a7a5e487bc1606bc8c'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '广场饭店',\n",
       "   'location': '113.714796,23.579464',\n",
       "   'tel': '13924112229',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLARAHQ'},\n",
       "  {'parent': [],\n",
       "   'address': '温泉东路113号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'star': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '4.5',\n",
       "    'lowest_price': [],\n",
       "    'hotel_ordering': [],\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅|住宿服务;宾馆酒店;宾馆酒店',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0d16418bc6bca5cfe11506d2748cd3a9'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/892924547d6fc4415dbbb474f9138613'}],\n",
       "   'typecode': '050100|100100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '怡东楼宾馆',\n",
       "   'location': '113.653053,23.653028',\n",
       "   'tel': '020-87839122;020-87839146',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G0O5VQRS'},\n",
       "  {'parent': 'B00141ICQP',\n",
       "   'address': '温泉镇温泉西路21号财富度假酒店',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '42.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.1',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '312',\n",
       "   'adname': '从化区',\n",
       "   'name': '财富度假酒店中餐厅(温泉西路店)',\n",
       "   'location': '113.643299,23.638148',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKQOQJS'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "POI_url = 'https://restapi.amap.com/v3/place/text?parameters'\n",
    "\n",
    "payload = {\n",
    "    'key':'4a48fbc57c6fa9b852ff8e9c92a7156b',\n",
    "    \"location\":广州南方学院_location,\n",
    "    'types':'050100',\n",
    "    \"page\":1\n",
    "#     'extensions':'all,\n",
    "    \n",
    "}\n",
    "\n",
    "r = requests.get(url=POI_url, params=payload )\n",
    "r.json()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
